import request from '@/utils/request'
const user_api='/api/user'
export default{
    //用户手机登录
    login(loginVo){
        return request({
            url:`${user_api}/login`,
            method:'post',
            data:loginVo
        })
    },

    //获取用户信息
    getUserInfo(){
        return request({
            url:`${user_api}/getUserInfoById`,
            method:'get'
        })
    },
    //用户认证
    saveUserAuah(userAuth){
        return request({
            url:`${user_api}/auth/userAuth`,
            method:'post',
            data:userAuth
        })
    }
}